package com.xiaoy.core.database.action;

import javax.annotation.Resource;

import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.Results;

import com.xiaoy.core.database.service.DatabaseService;
import com.xiaoy.web.BasicAction;
@Namespace("/db")
@Results( {
})
public class DatabaseAction extends BasicAction{

	@Resource(name="databaseService")
	private DatabaseService service ;
	
	public DatabaseAction () {
		System.out.println("DatabaseAction");
	}
	
	public String list () {
		
		System.out.println("ssss");
//		request.setAttribute("dataList", service.getDataTables());
		
		return "list";
	}
	
	
	
	
	
}
